package com.platform.usercenter.dataprocessing.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.platform.common.core.annotation.Excel;
import com.platform.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;
import java.util.List;

/**
 * 组织对象 sys_organization
 *
 * @author platform
 * @date 2024-10-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class SysOrganizationDateDTO extends BaseEntity {



    /**
     * 组织货代编码
     */
    private String agentCode;

    /**
     * 原始部门id
     */
    private Long oldDeptId;

    /**
     * 父部门id
     */
    private Long parentId;
    /**
     * 组织ID
     */
    private Long orgId;

    /**
     * 组织名称
     */
    @Excel(name = "组织名称")
    private String orgName;

    /**
     * 显示顺序
     */
    @Excel(name = "显示顺序")
    private Long orderNum;

    /**
     * 是否删除(Y,N)
     */
    @Excel(name = "是否删除(Y,N)")
    private String isDelete;

    /**
     * 删除人
     */
    @Excel(name = "删除人")
    private String deleteBy;

    /**
     * 删除时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "删除时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date deleteTime;

    /**
     * 负责人
     */
    private String leader;

    /**
     * 联系电话
     */
    private String phone;

    /**
     * 邮箱
     */
    private String email;

    /**
     * 组织状态:0正常,1停用
     */
    private String status;

    private List<Long> orgIds;
}
